.content {
  width: 80%;
  height: 700px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.content > .borrowing {
  width: 20%;
  height: 100%;
  margin-right: 40px;
}
.content > .borrowing > .title {
  width: 100%;
  height: 6%;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
}
.content > .borrowing > .borrowList {
  width: 100%;
  height: 94%;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.content > .borrowing > .borrowList > .book {
  width: 100%;
  height: 5%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(225, 225, 225);
  cursor: pointer;
}
.content > .recommend {
  width: 56%;
  height: 100%;
}
.content > .recommend > .title {
  width: 100%;
  height: 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
}
.content > .recommend > .title > .recommend {
  width: 20%;
  height: 100%;
  font-weight: bold;
  font-size: 20px;
  margin-top: 10px;
}
.content > .recommend > .title > .refresh {
  font-size: 18px;
  width: auto;
  height: 100%;
  color: silver;
  cursor: pointer;
}
.content > .recommend > .title > .spinning {
  animation: rotating 0.3s linear 1;
}
@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
.content > .recommend > .recommendList {
  width: 100%;
  height: 94%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}
.content > .recommend > .recommendList > .book {
  width: 49%;
  height: 25%;
  margin-top: 20px;
}
.content > .recommend > .recommendList > .book > .bookInfo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-self: center;
  cursor: pointer;
}
.content > .recommend > .recommendList > .book > .bookInfo > img {
  height: 100%; /* 图片高度充满父容器 */
  width: 150px; /* 宽度等比缩放 */
  object-fit: contain;
}
.content > .recommend > .recommendList > .book > .bookInfo > .textInfo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  overflow: hidden;
}
.content
  > .recommend
  > .recommendList
  > .book
  > .bookInfo
  > .textInfo
  > .title {
  font-size: 20px;
  font-weight: bold;
}
.content
  > .recommend
  > .recommendList
  > .book
  > .bookInfo
  > .textInfo
  > .author {
  font-size: 14px;
  color: gray;
}
.content
  > .recommend
  > .recommendList
  > .book
  > .bookInfo
  > .textInfo
  > .description {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  font-size: 14px;
  line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  word-break: break-word;
}
.content > .collection {
  width: 20%;
  height: 100%;
  margin-left: 40px;
}
.content > .collection > .title {
  width: 100%;
  height: 6%;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
}
.content > .collection > .collectList {
  width: 100%;
  height: 94%;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.content > .collection > .collectList > .book {
  width: 100%;
  height: 5%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(225, 225, 225);
  cursor: pointer;
}
.ad {
  width: 80%;
  height: 100px;
  margin: 0 auto;
  background-color: red;
  color: white;
  position: fixed; /* 固定定位 */
  bottom: 0; /* 贴着底部 */
  left: 50%; /* 水平中心点 */
  transform: translateX(-50%); /* 向左偏移自身宽度的一半，实现居中 */
}
